//
//  ONAlertTableViewCell.m
//  Volatix
//
//  Created by Anh Tran on 6/3/14.
//  Copyright (c) 2014 Familly. All rights reserved.
//

#import "ONAlertTableViewCell.h"

@implementation ONAlertTableViewCell

-(void)loadCellData:(ONObjectAlert*)_object
{
    _title.text =[NSString stringWithFormat:@"%@",_object.symbleName];
    _typeLabel.text =(_object.Type==0)?@"RealTime":@"DayAhead";
    [_typeLabel setHidden:(_object.Type==-1)?YES:NO];
    
    
    
    ///---> not yet seeting strigger
    [_triggerLabel setHidden:true];
    [_statusLabel setHidden:true];
    [_statusImageView setHidden:true];
    
    
}
@end
